package com.freewater.javabase.demo.innerclass;

public interface Greeting {

    String URL = "https://www.google.com";

    String sayHello();

    class GreetingImpl implements Greeting {

        @Override
        public String sayHello() {
            return "hello world";
        }
    }

    static void main(String[] args) {
        Greeting greeting = new GreetingImpl();
        System.out.println(greeting.sayHello());
    }
}
